package com.hdw.med.bean.model;

import java.io.Serializable;
import java.util.Date;

public class BaseDbTpcomp implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long idDbTpcomp;

	private String euDbtp;

	private String euFldtp;

	private Integer euJavatp;

	private String naJavatp;

	private Integer euUsePrecision;

	private Date dtSysCre;

	private Date dtSysModi;

	public Long getIdDbTpcomp() {
	    return idDbTpcomp;
	}

	public void setIdDbTpcomp(Long idDbTpcomp) {
	    this.idDbTpcomp = idDbTpcomp;
	}

	public String getEuDbtp() {
	    return euDbtp;
	}

	public void setEuDbtp(String euDbtp) {
	    this.euDbtp = euDbtp == null ? null : euDbtp.trim();
	}

	public String getEuFldtp() {
	    return euFldtp;
	}

	public void setEuFldtp(String euFldtp) {
	    this.euFldtp = euFldtp == null ? null : euFldtp.trim();
	}

	public Integer getEuJavatp() {
	    return euJavatp;
	}

	public void setEuJavatp(Integer euJavatp) {
	    this.euJavatp = euJavatp;
	}

	public String getNaJavatp() {
	    return naJavatp;
	}

	public void setNaJavatp(String naJavatp) {
	    this.naJavatp = naJavatp == null ? null : naJavatp.trim();
	}

	public Integer getEuUsePrecision() {
	    return euUsePrecision;
	}

	public void setEuUsePrecision(Integer euUsePrecision) {
	    this.euUsePrecision = euUsePrecision;
	}

	public Date getDtSysCre() {
	    return dtSysCre;
	}

	public void setDtSysCre(Date dtSysCre) {
	    this.dtSysCre = dtSysCre;
	}

	public Date getDtSysModi() {
	    return dtSysModi;
	}

	public void setDtSysModi(Date dtSysModi) {
	    this.dtSysModi = dtSysModi;
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    BaseDbTpcomp other = (BaseDbTpcomp) that;
	    return (this.getIdDbTpcomp() == null ? other.getIdDbTpcomp() == null : this.getIdDbTpcomp().equals(other.getIdDbTpcomp())) && (this.getEuDbtp() == null ? other.getEuDbtp() == null : this.getEuDbtp().equals(other.getEuDbtp())) && (this.getEuFldtp() == null ? other.getEuFldtp() == null : this.getEuFldtp().equals(other.getEuFldtp())) && (this.getEuJavatp() == null ? other.getEuJavatp() == null : this.getEuJavatp().equals(other.getEuJavatp())) && (this.getNaJavatp() == null ? other.getNaJavatp() == null : this.getNaJavatp().equals(other.getNaJavatp())) && (this.getEuUsePrecision() == null ? other.getEuUsePrecision() == null : this.getEuUsePrecision().equals(other.getEuUsePrecision())) && (this.getDtSysCre() == null ? other.getDtSysCre() == null : this.getDtSysCre().equals(other.getDtSysCre())) && (this.getDtSysModi() == null ? other.getDtSysModi() == null : this.getDtSysModi().equals(other.getDtSysModi()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdDbTpcomp() == null) ? 0 : getIdDbTpcomp().hashCode());
	    result = prime * result + ((getEuDbtp() == null) ? 0 : getEuDbtp().hashCode());
	    result = prime * result + ((getEuFldtp() == null) ? 0 : getEuFldtp().hashCode());
	    result = prime * result + ((getEuJavatp() == null) ? 0 : getEuJavatp().hashCode());
	    result = prime * result + ((getNaJavatp() == null) ? 0 : getNaJavatp().hashCode());
	    result = prime * result + ((getEuUsePrecision() == null) ? 0 : getEuUsePrecision().hashCode());
	    result = prime * result + ((getDtSysCre() == null) ? 0 : getDtSysCre().hashCode());
	    result = prime * result + ((getDtSysModi() == null) ? 0 : getDtSysModi().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idDbTpcomp=").append(idDbTpcomp);
	    sb.append(", euDbtp=").append(euDbtp);
	    sb.append(", euFldtp=").append(euFldtp);
	    sb.append(", euJavatp=").append(euJavatp);
	    sb.append(", naJavatp=").append(naJavatp);
	    sb.append(", euUsePrecision=").append(euUsePrecision);
	    sb.append(", dtSysCre=").append(dtSysCre);
	    sb.append(", dtSysModi=").append(dtSysModi);
	    sb.append("]");
	    return sb.toString();
	}


}